package com.nytd.demo.service;

import com.nytd.demo.entity.UserInfo;
import com.nytd.demo.mapper.UserInfoMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class UserInfoService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    public void registryUser(UserInfo userInfo) {
        //插⼊⽤⼾信息
        userInfoMapper.insert(userInfo);
    }

}
